package com.dk.mapper;

import com.dk.pojo.TbUserScoreUse;
import com.dk.pojo.TbUserScoreUseExample;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserScoreUseMapper {
    int countByExample(TbUserScoreUseExample example);

    int deleteByExample(TbUserScoreUseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbUserScoreUse record);

    int insertSelective(TbUserScoreUse record);

    List<TbUserScoreUse> selectByExample(TbUserScoreUseExample example);

    TbUserScoreUse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbUserScoreUse record, @Param("example") TbUserScoreUseExample example);

    int updateByExample(@Param("record") TbUserScoreUse record, @Param("example") TbUserScoreUseExample example);

    int updateByPrimaryKeySelective(TbUserScoreUse record);

    int updateByPrimaryKey(TbUserScoreUse record);

    List<TbUserScoreUse> selectScoreByDate(@Param("date") Date date);

    List<String> selectUserIdByDate(@Param("date") Date date);

    void deleteBatch(@Param("idList") List<Long> idList);
}